import request from '@/utils/request'

export function getListPage(params) {
    return request({
        url: '/operate/proInfos/shopProList',
        headers: {
        'Content-Type': 'application/json;charset=UTF-8',
        'pageNum': params.pageNum,
        'pageSize': params.pageSize
        },
        method: 'get',
        params:params
    })
}
export function getData(proId) {
    return request({
        url: '/operate/proInfos/auditShopPro?proId='+proId,
        headers: {
        'Content-Type': 'application/json;charset=UTF-8',
        },
        method: 'get',
    })
}

export function auditPass(newId) {
    return request({
        url: '/operate/proInfos/auditPass?proId='+newId,
        headers: {
        'Content-Type': 'application/json;charset=UTF-8',
        },
        method: 'get',
    })
}
export function auditFail(data,proId) {
    return request({
        url: '/operate/proInfos/auditFail?reason='+data+'&proId='+proId,
        headers: {
        'Content-Type': 'application/json;charset=UTF-8',
        },
        method: 'get'
    })
}
